
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-video"></i>
                    <div class="name">video</div>
                    <div class="fontclass">.icon-video</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mimayaochi"></i>
                    <div class="name">密码，钥匙</div>
                    <div class="fontclass">.icon-mimayaochi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xuanzexiangmu"></i>
                    <div class="name">选择项目</div>
                    <div class="fontclass">.icon-xuanzexiangmu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yinlemusic170"></i>
                    <div class="name">音乐_music170</div>
                    <div class="fontclass">.icon-yinlemusic170</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-LC_icon_list_line"></i>
                    <div class="name">LC_icon_list_line</div>
                    <div class="fontclass">.icon-LC_icon_list_line</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-database"></i>
                    <div class="name">LC_icon_list_line_13</div>
                    <div class="fontclass">.icon-database</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-squares"></i>
                    <div class="name">LC_icon_list_line_21</div>
                    <div class="fontclass">.icon-squares</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chartline"></i>
                    <div class="name">chart-line</div>
                    <div class="fontclass">.icon-chartline</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuzhuceqiye"></i>
                    <div class="name">预注册企业</div>
                    <div class="fontclass">.icon-yuzhuceqiye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-text"></i>
                    <div class="name">text</div>
                    <div class="fontclass">.icon-text</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bijiben-copy"></i>
                    <div class="name">笔记本</div>
                    <div class="fontclass">.icon-bijiben-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-newlinemtui"></i>
                    <div class="name">new_line_MT_UI</div>
                    <div class="fontclass">.icon-newlinemtui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-denglu-copy"></i>
                    <div class="name">登录</div>
                    <div class="fontclass">.icon-denglu-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-test"></i>
                    <div class="name">test</div>
                    <div class="fontclass">.icon-test</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuce"></i>
                    <div class="name">注册</div>
                    <div class="fontclass">.icon-zhuce</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pause"></i>
                    <div class="name">pause</div>
                    <div class="fontclass">.icon-pause</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus-radiofill"></i>
                    <div class="name">单选填空</div>
                    <div class="fontclass">.icon-plus-radiofill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ceshi"></i>
                    <div class="name">测试</div>
                    <div class="fontclass">.icon-ceshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ptsxingnengceshi"></i>
                    <div class="name">pts性能测试</div>
                    <div class="fontclass">.icon-ptsxingnengceshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zuhedanxuankuang"></i>
                    <div class="name">组合单选框</div>
                    <div class="fontclass">.icon-zuhedanxuankuang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-test1"></i>
                    <div class="name">test</div>
                    <div class="fontclass">.icon-test1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line"></i>
                    <div class="name">emoji_line (17)</div>
                    <div class="fontclass">.icon-emoji_line</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line1"></i>
                    <div class="name">emoji_line (20)</div>
                    <div class="fontclass">.icon-emoji_line1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line2"></i>
                    <div class="name">emoji_line (30)</div>
                    <div class="fontclass">.icon-emoji_line2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line3"></i>
                    <div class="name">emoji_line (42)</div>
                    <div class="fontclass">.icon-emoji_line3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line4"></i>
                    <div class="name">emoji_line (46)</div>
                    <div class="fontclass">.icon-emoji_line4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line5"></i>
                    <div class="name">emoji_line (47)</div>
                    <div class="fontclass">.icon-emoji_line5</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line6"></i>
                    <div class="name">emoji_line (56)</div>
                    <div class="fontclass">.icon-emoji_line6</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-emoji_line7"></i>
                    <div class="name">emoji_line (60)</div>
                    <div class="fontclass">.icon-emoji_line7</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-laba"></i>
                    <div class="name">喇叭</div>
                    <div class="fontclass">.icon-laba</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-banckward"></i>
                    <div class="name">banckward</div>
                    <div class="fontclass">.icon-banckward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caretright"></i>
                    <div class="name">caretright</div>
                    <div class="fontclass">.icon-caretright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-square"></i>
                    <div class="name">down-square</div>
                    <div class="fontclass">.icon-down-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-square-o"></i>
                    <div class="name">down-square-o</div>
                    <div class="fontclass">.icon-down-square-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fast-backward"></i>
                    <div class="name">fast-backward</div>
                    <div class="fontclass">.icon-fast-backward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-forward"></i>
                    <div class="name">forward</div>
                    <div class="fontclass">.icon-forward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fast-forward"></i>
                    <div class="name">fast-forward</div>
                    <div class="fontclass">.icon-fast-forward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-square"></i>
                    <div class="name">left-square</div>
                    <div class="fontclass">.icon-left-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-square-o"></i>
                    <div class="name">left-square-o</div>
                    <div class="fontclass">.icon-left-square-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-square"></i>
                    <div class="name">right-square</div>
                    <div class="fontclass">.icon-right-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-square-o"></i>
                    <div class="name">right-square-o</div>
                    <div class="fontclass">.icon-right-square-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-step-backward"></i>
                    <div class="name">step-backward</div>
                    <div class="fontclass">.icon-step-backward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-step-forward"></i>
                    <div class="name">step-forward</div>
                    <div class="fontclass">.icon-step-forward</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-play-circle"></i>
                    <div class="name">play-circle</div>
                    <div class="fontclass">.icon-play-circle</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
